Ext.define('BM.view.trade.ShortCut', {
    extend: 'Ext.window.Window',
    alias : 'widget.shortcut',
    title : '快捷结账',
    layout: 'fit',
    autoShow: true,
    initComponent: function() {
        this.items = [
            {
                xtype: 'form',
                fieldDefaults: {
            	    labelWidth: 115,
                	labelAlign: 'right'
        		 },
                width:300,
                margins: '5 5 5 2',
                items: [
                	{
                		xtype:'panel',
                		border:false,
                	 	height:10
                	 },
                    {
                        xtype: 'textfield',
                        name : 'handTokenNum',
                        fieldLabel: '请输入手牌号',
                        readOnly:false,
                        allowBlank: false
                    },{
                		xtype:'panel',
                	 	heigth:20,
                	 	border:false,
                	 	html:'<font class="token-order-text">注：请输入要结帐的手牌号！</font>'
                	 }
                ]
            }
        ];

        this.buttons = [
            {
                text: '结帐',
                action: 'save'
            },
            {
                text: '取消',
                scope: this,
                handler: this.close
            }
        ];

        this.callParent(arguments);
    }
});